Skip to content

chore: version packages#97

Merged
sepehr-safari merged 1 commit into
mainfrom
changeset-release/main
Jul 9, 2026
Merged

chore: version packages#97
sepehr-safari merged 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

@github-actions github-actions Bot commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@ocpp-debugkit/toolkit@0.3.0

Minor Changes

  • 6775642: Add rich scenario assertions — 8 declarative assertion types for scenario evaluation:

    • event_order, event_count, payload_field, timing, session_state,
      failure_severity, no_failures, failure_count

    New API: runAssertions(), evaluateScenario(). Backward compatible —
    existing scenarios with only expectedFailures work unchanged.

  • 1b8cb39: Add three new CLI commands:

    • ocpp-debugkit ci [dir] — run all scenarios, exit 0/1 for CI integration, supports --format json
    • ocpp-debugkit anonymize <file> — strip sensitive fields from trace files
    • ocpp-debugkit diff <a> <b> — compare two trace files, supports --format json

    Also fixes evaluateScenario to deduplicate failure codes before comparison.

  • c580737: Add 5 new failure detection rules for v0.3.0:

    • SUSPICIOUS_SESSION_DURATION — sessions shorter than 60s or longer than 24h
    • SLOW_RESPONSE — Call→CallResult/CallError gap exceeding 10s
    • HEARTBEAT_INTERVAL_VIOLATION — heartbeat intervals deviating >50% from expected
    • METER_VALUE_ANOMALY — non-monotonic or negative meter readings
    • UNRESPONSIVE_CSMS — Call messages with no matching CallResult or CallError

    Total detection rules: 15 (10 from v0.1/v0.2 + 5 new).

  • 8db857e: Add 5 new scenarios using rich assertions (15 total):

    • slow-csms-response — SLOW_RESPONSE + timing assertion
    • meter-anomaly — METER_VALUE_ANOMALY + payload_field/event_count assertions
    • short-session — SUSPICIOUS_SESSION_DURATION + session_state/event_count assertions
    • heartbeat-irregular — HEARTBEAT_INTERVAL_VIOLATION + event_count assertion
    • unresponsive-csms — UNRESPONSIVE_CSMS + failure_severity/failure_count assertions

    Add compareScenarioReports() — compare two scenario evaluation results for regression testing.

  • 8f765f9: Add diffTraces() — compare two parsed traces and surface event-level differences:

    • Events only in A or B (by messageId)
    • Field-level modifications (timestamp, direction, action, payload, errorCode)
    • Failure differences (detected in A but not B, and vice versa)
    • Summary differences (event count, failure count, duration, status)

web@0.1.3

Patch Changes

  • Updated dependencies [6775642]
  • Updated dependencies [1b8cb39]
  • Updated dependencies [c580737]
  • Updated dependencies [8db857e]
  • Updated dependencies [8f765f9]
    • @ocpp-debugkit/toolkit@0.3.0

@vercel

vercel Bot commented Jul 9, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
ocpp-debugkit-web Ready Ready Preview, Comment Jul 9, 2026 12:01am

@github-actions github-actions Bot force-pushed the changeset-release/main branch 7 times, most recently from a2a63f6 to 265086d Compare July 9, 2026 07:24
@github-actions github-actions Bot force-pushed the changeset-release/main branch from 265086d to d1889d9 Compare July 9, 2026 07:46
@sepehr-safari sepehr-safari merged commit 2224138 into main Jul 9, 2026
@sepehr-safari sepehr-safari deleted the changeset-release/main branch July 9, 2026 07:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant